package edu.mju.responsibility.interceptor;

import edu.mju.interceptor.Interceptor;

import java.lang.reflect.Method;

/**
 * @Author:wyp
 * @Date:2020/9/19 16:51
 */
public class Interceptor3 implements Interceptor {
    @Override
    public boolean before(Object proxyObject, Object realObject, Method method, Object[] args) {
        System.out.println("-----------这是拦截器3的before()方法----------");
        return false;
    }

    @Override
    public void around(Object proxyObject, Object realObject, Method method, Object[] args) {
        System.out.println("-----------这是拦截器3的around()方法----------");
    }

    @Override
    public void after(Object proxyObject, Object realObject, Method method, Object[] args) {
        System.out.println("-----------这是拦截器3的after()方法----------");
    }
}
